	$(function() {
		if (typeof ($.cookie('menusf')) == "undefined") {
			$("#sidebar").attr("class", "");
		} else {
			$("#menusf").attr("checked", true);
			$("#sidebar").attr("class", "menu-min");
		}
	});
	function cmainFrame(){
		var Ahmain = document.getElementById("main-content");
		var hmain = document.getElementById("mainFrame");
		var bheight = document.documentElement.clientHeight;

		hmain.style.width = '100%';
		Ahmain.style.height = (bheight-58) + 'px';
		hmain.style.height = (bheight-58) + 'px';

		var bkbgjz = document.getElementById("bkbgjz");
		bkbgjz .style.height = (bheight-58) + 'px';

	}
	cmainFrame();
	window.onresize=function(){
		cmainFrame();
	};
	jzts();